package com.songlanyun.modules.goods.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import com.songlanyun.common.drive.RootEntity;
import lombok.Data;

/**
 * 
 * 
 * @author lubo
 * @email sunlightcs@gmail.com
 * @date 2020-11-05 10:41:27
 */
@Data
@TableName("yxt_product_goods_group_relation")
public class GoodsGroupRelation extends RootEntity<Long, GoodsGroupRelation>  implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Long id;
	/**
	 * 商品分组id
	 */
	private Long goodsGroupId;

	/**
	 * 商品经营权限id
	 */
	private Long goodsAuthShopId;

	@Override
	public Long getIdentity() {
		return getId();
	}
}
